package com.mkl.business.service;

import com.mkl.business.domain.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mkl.business.vo.CustomerVo;
import com.mkl.system.common.DataGridView;

/**
 * @author king
 * @version 1.0
 * @date 2020/4/3 13:04
 */
public interface CustomerService extends IService<Customer> {


    DataGridView loadAllCustomer(CustomerVo customerVo);

    Customer saveCustomer(Customer customer);

    Customer updateCustomer(Customer customer);

    void deleteCustomerById(Integer id);

    void batchDeleteCustomerByIds(Integer[] ids);

    DataGridView getAllAvailableCustomer();

    Integer getAllAvailableCustomerSum();
}
